from resource.baseResource import BaseResource

from mako.template import Template


class RootResource(BaseResource):
    def doGet(self):
        self.template = Template(filename="template/index.tpl")
        return self.template.render()

    def doPost(self):
        return "POST"
